import React, { Component, Fragment } from 'react'
import Test from './Test'
export default class App extends Component {
  state = {
    c: 0,
  }
  render() {
    return (
      <>
        <button
          onClick={() => {
            this.setState({
              c: 1,
            })
          }}
        >
          app的按钮
        </button>
        <hr />

        <Test c={this.state.c}></Test>
      </>
    )
  }
}
